package com.cgx.dao;

import com.cgx.entity.Category;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryDao  extends JpaRepository<Category, String> {

    List<Category> findAllByDelFlagOrderByPriority(Integer delFlag);
}
